package com.ruoyi.project.per.app.content.service;

import com.ruoyi.project.per.app.content.domain.AppContent;
import com.ruoyi.project.per.app.content.domain.AppContentVo;
import com.ruoyi.project.per.app.content.mapper.AppContentMapper;
import com.ruoyi.project.per.app.type.service.IAppTypeService;
import com.ruoyi.project.system.post.mapper.PostMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小新
 * @date 2020-09-19 19:33
 * @desc
 */
@Service
public class AppContentServiceImpl implements IAppContentService {
    @Autowired
    private AppContentMapper appContentMapper;

    @Override
    public List<AppContentVo> selectAppContenttList(AppContentVo appContentVo) {

        return appContentMapper.selectAppContentList(appContentVo);
    }

    @Override
    public AppContentVo selectAppContentById(Long detail) {
        return appContentMapper.selectAppContentById(detail);
    }

    @Override
    public int insertAppContent(AppContent appContent) {

        return appContentMapper.insertAppContent(appContent);
    }
}
